// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router';
import Home from '../views/Home.vue';
import AnotherPage from '../views/AnotherPage.vue';
import PerformanceTest from '../views/PerformanceTest.vue';
import HairPage from '../views/FilePage.vue';

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        path: '/another-page',
        name: 'AnotherPage',
        component: AnotherPage
    },
    {
        path: '/performanceTest',
        name: 'PerformanceTest',
        component: PerformanceTest
    },
    {
        path: '/hairPage',
        name: 'HairPage',
        component: HairPage
    }
];

const router = createRouter({
    history: createWebHistory('/'),
    routes
});

export default router;
